package com.cqjtu.drive.mapper;

import com.cqjtu.drive.pojo.Grade;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface GradeMapper {

    Grade getGradeById(String sId);

    void insertGrade(Grade grade);

    void updateGrade(Grade grade);

    void deleteGrade(String sId);

    List<Grade> getAllGrades();

}
